package com.novunda.platform.common.exception;

import com.novunda.platform.enums.ValidateExceptionEnum;

/**
 * @author linfeng
 * @since 2016/8/29
 */
public class NovException extends RuntimeException {
    private static final long serialVersionUID = 7543635422824325224L;


    public NovException(String message) {
        super(message);
    }

    public NovException(String message, Throwable cause) {
        super(message, cause);
    }

    public NovException(ValidateExceptionEnum exceptionEnum) {
        super(exceptionEnum.getMessage());
    }

}
